import routes from './Routes/index';

const Routes = [
    // app
    {
        path: "/",
        component: "../layouts/BasicLayout",
        Routes: ["src/pages/Authorized"],
        routes: [
            {
                name: "home",
                path: "/",
                component: "./Welcome",
                hideInMenu: true
            },
            ...routes,
            {
                component: "./404"
            }
        ]
    },
    {
        component: "./404"
    }
]

export default Routes;
